package com.dashu.school.model;


import com.dashu.base.enums.common.GenderType;
import lombok.Data;

import javax.persistence.*;
import java.io.Serializable;

@Entity
@Table(name = "ds_company_parent")
@Data
public class CompanyParent implements Serializable {
    /**
     * 家长属性
     */
    @Id
    private long id; //主键id
    private long createTime;//创建时间
    private long createUser;// 创建者
    private long updateTime;//更新时间
    private long updateUser;//更新者
    private String parentName; //家长姓名
    private long parentPhone; //家长电话
    @Enumerated(EnumType.STRING)
    private GenderType gender; //性别
    private long parentType; //家长类型
    private String icon; //icon
    private long attendanceId;
    private long gateId;//
    private long companyId;// 所属学校
}
